Skip to content

feat: add --on-hold flag to card move command#143

Merged
brigleb merged 1 commit intoneedmore:mainfrom
nnemirovsky:feat/card-move-on-hold
Feb 21, 2026
Merged

feat: add --on-hold flag to card move command#143
brigleb merged 1 commit intoneedmore:mainfrom
nnemirovsky:feat/card-move-on-hold

Conversation

@nnemirovsky
Copy link
Contributor

Adds support for moving cards to the on-hold section of a column via bc4 card move <id> --on-hold.

The Basecamp API represents on-hold as a sub-container (Kanban::OnHold) within a column, with its own ID. The standard card move endpoint accepts this ID as column_id, so no new API calls are needed — just the on-hold section ID from the card table response.

When --on-hold is used alone, the card moves to on-hold in its current column. Combined with --column, it moves to on-hold in the specified column.

Also adds ID field to OnHoldStatus struct — the API returns it but it wasn't being captured.

Depends on #142 (on-hold cards URL fix).

bc4 card move 123 --on-hold
bc4 card move 123 --column "Developing" --on-hold

@brigleb brigleb force-pushed the feat/card-move-on-hold branch from 3a0df23 to 581b643 Compare February 21, 2026 02:29
Copy link
Member

@brigleb brigleb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Clean feature addition. Reuses the existing MoveCard API with the on-hold container ID — nice approach. Branch rebased onto main to drop the already-merged #142 commit. LGTM.

@brigleb brigleb merged commit cff00d5 into needmore:main Feb 21, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants